<include file="Public:header" />
    <h3 class="title"><em>新增管理员</em><span><a href="{:U('index')}">返回列表&nbsp;&rsaquo;&nbsp;</a></span></h3>
	<div class="formbox">
    	<form name="mform" method="post" action="{:U('add')}">
		<table width="100%" border="0" cellspacing="1" cellpadding="0">
			<tr>
				<th>用户名：</th>
				<td><input name="username" type="text" class="ipt" id="username" size="50" maxlength="50" /></td>
			</tr>
			<tr>
				<th>密码：</th>
				<td><input name="password" type="password" class="ipt" id="password" size="50" maxlength="100" /></td>
			</tr>
            <tr>
				<th>重复密码：</th>
				<td><input name="relpassword" type="password" class="ipt" id="relpassword" size="50" maxlength="100" /></td>
			</tr>
            <tr>
				<th>所属角色：</th>
				<td>
                	<select name="role_id" id="role_id" class="sel">
                    	<option value="0">超级管理员</option>
                        <volist name="roleList" id="rlv">
                        <option value="{$rlv['id']}">{$rlv['name']}</option>
                        </volist>
                    </select>
                </td>
			</tr>
			<tr>
				<th>状态：</th>
				<td>
                	<label><input name="status" type="radio" checked="checked" value="1" /> 正常</label>
                	<label><input name="status" type="radio" value="2" /> 禁用</label>
                </td>
			</tr>
			<tr class="btnbox">
            	<th>&nbsp;</th>
				<td>
					<input type="submit" class="btn" value="保 存">&nbsp;
					<input type="reset" class="btn" value="取 消" onClick="window.location.href='{:U('index')}';">
				</td>
			</tr>
		</table>
        </form>
	</div>
<include file="Public:footer" />